// 在这里把项目里的reducers组合成一个文件
import counter from './reducers/counter';
import userInfo from 'reducers/userInfo';

export default function combineReducers(state = {}, action) {
    return {
        counter: counter(state.counter, action),
		userInfo: userInfo(state.userInfo, action)
    }
}